package com.zy.algorithm.bean;

public class QuickSortStepBean extends SortStepBean {

    //定义移动-是单个元素前移或者后移

    //每趟比较的第一次
    boolean compareFirstInPer = false;

    //数据后移
    boolean move = false;
    int moveFirstIndex;
    int moveSecondIndex;

    //数据回设
    boolean moveBack = false;
    int moveBackIndex;

    public boolean isMove() {
        return move;
    }

    public void setMove(boolean move) {
        this.move = move;
    }

    public int getMoveFirstIndex() {
        return moveFirstIndex;
    }

    public void setMoveFirstIndex(int moveFirstIndex) {
        this.moveFirstIndex = moveFirstIndex;
    }

    public int getMoveSecondIndex() {
        return moveSecondIndex;
    }

    public void setMoveSecondIndex(int moveSecondIndex) {
        this.moveSecondIndex = moveSecondIndex;
    }

    public boolean isMoveBack() {
        return moveBack;
    }

    public void setMoveBack(boolean moveBack) {
        this.moveBack = moveBack;
    }

    public int getMoveBackIndex() {
        return moveBackIndex;
    }

    public void setMoveBackIndex(int moveBackIndex) {
        this.moveBackIndex = moveBackIndex;
    }

    public boolean isCompareFirstInPer() {
        return compareFirstInPer;
    }

    public void setCompareFirstInPer(boolean compareFirstInPer) {
        this.compareFirstInPer = compareFirstInPer;
    }
}
